<include file="Public:header" />
<form id="dialog-form" action="{:U('role/save')}" method="post" class="form-panel content-layout">
    <table>
        <tr>
            <th>角色名称：</th>
            <td>
                <input name="role_name" value="{$item.role_name}" class="easyui-validatebox input-text" data-options="required:true">
            </td>
        </tr>
        <tr>
            <th>是否锁定：</th>
            <td>
                <input type="radio" name="locked" value="1"<if condition="$item.locked eq 1"> checked</if>>是
                <input type="radio" name="locked" value="0"<if condition="$item.locked neq 1"> checked</if>>否
            </td>
        </tr>
        <tr>
            <th>备注：</th>
            <td>
                <textarea cols="25" rows="3" name="remark">{$item.remark}</textarea>
            </td>
        </tr>
    </table>
    <input type="hidden" name="role_id" value="{$item.role_id|default='0'}">
</form>
<include file="Public:footer" />